package cn.wolfcode.trip.base.domain;

import lombok.*;
import java.util.Date;

/**
 * 大攻略点赞domain
 */
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class StrategyLike extends BaseDomain{

    public static final int STATUS_LIKE = 1;    //点赞
    public static final int STATUS_UNLIKE = 0;  //取消点赞

    //被点赞的大攻略id
    private Long strategyId;

    //点赞用户的id(可以为null)
    private Long likerId;

    //点赞状态(点赞/取消点赞)
    private Integer status;

    //操作的时间
    private Date createTime;

    //用户是否已浏览查看
    private int brower = 0;


}